package com.youlai.boot.system.converter;

import com.youlai.boot.system.model.entity.SpotRecord;
import com.youlai.boot.system.model.form.SpotRecordForm;
import org.mapstruct.Mapper;

/**
 * 出票数据对象转换器
 *
 * @author lwb
 * @since 2025-06-29 22:35
 */
@Mapper(componentModel = "spring")
public interface SpotRecordConverter {

    SpotRecordForm toForm(SpotRecord entity);

    SpotRecord toEntity(SpotRecordForm formData);
}